2 using System.Collections.Generic;
5 using Microsoft.Xna.Framework;
6 using Microsoft.Xna.Framework.Graphics;
8 namespace SuperPolarity
12 public enum Polarity : byte { Negative, Positive, Neutral };
15 protected Polarity CurrentPolarity;
17 public void SwitchPolarity()
19 if (CurrentPolarity == Polarity.Positive)
21 CurrentPolarity = Polarity.Negative;
25 CurrentPolarity = Polarity.Positive;
29 public void SetPolarity(Polarity newPolarity)
31 CurrentPolarity = newPolarity;
34 public virtual void Shoot()